<template>
  <div>
    
    <van-card
    v-for="(item,index) in list"
      :key="index"
      :price="item.actualPrice"
      :title="item.title"
      :thumb="item.mainPic"
    />
  </div>
</template>

<script>
export default {
  data(){
      return{
        list:[]
      }
  },
  created(){
    let aa = localStorage.carlist
    if(aa){
      this.list = JSON.parse(aa)
    }
  }

};
</script>

<style>
</style>